<%= form_for([@project, @topic, @reply]) do |f| %>
  <% if @reply.errors.any? %>
    <div id="error_explanation">
      <h2><%= t :errors, :scope => [:helpers, :messages, :topic] %></h2>

      <ul>
      <% @reply.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :description %><br />
    <%= f.text_area :description %>
  </div>

  <div class="actions">
    <% if params[:bug_id] %>
      <%= hidden_field_tag(:bug_id, params[:bug_id]) %>
    <% end %>
    <%= f.submit (t :submit, :scope => [:helpers, :navigation, :reply]) %>
  </div>
<% end %>
